package com.weaver.qfengx;

import java.io.IOException;
import java.io.InputStream;

/**
 * Created by YeShengtao on 2020/9/25 16:09
 */
public class IOUtils {

    public static String string(InputStream inputStream) throws IOException {
        byte[] bytes = new byte[inputStream.available()];
        inputStream.read(bytes);
        return new String(bytes);
    }

}
